package com.gec.mall.service;

import com.gec.mall.document.EsItem;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * @Author: li
 * @Date: 2023/2/15
 * @PACKAGE_NAME:com.gec.mall.service
 * @Project_Name:mall-parent
 * @VERSION: 1.0.0
 */
public interface EsItemService {

    Page<EsItem> findByPrefix(String prefix, Pageable pageable);

    EsItem findById(Long id);
}
